package com.qfjy.controller;

import com.qfjy.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname DemoController
 * @Author guoweixin
 * @Description TODO
 * @Date 2021/6/23 16:25
 * @Created by Administrator
 */
@RestController
@RequestMapping("demo")
public class DemoController {
    @Autowired
    private  DemoService demoService;

    @GetMapping("list")
    public Object list(){
        return demoService.selectList();
    }



}
